package com.qf.service.impl;

import com.alipay.api.AlipayApiException;
import com.qf.entity.AlipayBean;
import com.qf.service.PayService;
import com.qf.utils.AlipayUtil;
import org.springframework.stereotype.Service;

/**
 * @Author: chen
 * @Date: 2021/3/23 5:52 PM
 * @Version 1.0
 */
@Service("alipayOrderService")
public class PayServiceImpl implements PayService {
    @Override
    public String aliPay(AlipayBean alipayBean) throws AlipayApiException {
        return AlipayUtil.connect(alipayBean);
    }
}
